<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:xhtml/>

<ul class="unorderedlisttree mytree">
<%
pageContext.getOut().write(request.getAttribute("categoriesToHTML").toString());
%>
</ul>

<script>
	$(document).ready(function() {

		$("li label").bind('click',
				function() {
					location.replace('voucher/search/by-category/' + $(this).attr('class'));
				}
			);
		
		$(".mytree").checkboxTree(); 
	});
</script>




